php forum
php mysql forum
php mysql smarty
 
Page 4 of 4 < 1 2 3 4
Topic Options
#313636 - 03/19/07 07:41 PM Re: [7.x] UBB Spoiler Tags [Re: jgeoff]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I can't see how it COULD mess with the edit post timer (the erorr is generated from that), all this mod does is insert html/ubbcode into the database which any post-based mod would do... The worse that could occour would be that the connection to the server died mid-packet and not all html was inserted; which would be near impossible and woudln't be related lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313639 - 03/19/07 08:23 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
After digging further we discovered that Fred's issues derived from a separate issue which was in no part related to this modification.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313640 - 03/19/07 09:30 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Fred Johnson Offline
Junior Member

Registered: 07/14/06
Posts: 21
Yep,

Gizmo sure is a trooper! He logged into my site and saw I wasn't nuts, well at least that something was wrong. whistle

I backed out all of the mods and I was still having the problem so I then went a little deeper and remembered that earlier today I had made a code change listed on the main UBB site for a v7.1.1 fix. I usually read the fixes, try them out and update my code as Rick lists them, but this one is what broke the page. I'll have to tell him about it (tomorrow, it's late now).

Anyway, this mod works great, you should try it, it is a neat feature (not sure why it isn't here yet?).

Fred

Top
#313641 - 03/19/07 09:37 PM Re: [7.x] UBB Spoiler Tags [Re: Fred Johnson]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Oh, it will be here wink... just you wait hehe...

And yeh, if you applied a fix schedualed for 7.1.1 then you definitely should report it; odd that it b0ged things this badly though lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313643 - 03/20/07 01:04 AM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 97
Loc: NJ

Fine, don't tell the rest of us what conflicted with it... tipsy wink

_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#313644 - 03/20/07 05:22 AM Re: [7.x] UBB Spoiler Tags [Re: jgeoff]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
According to Fred, it was one of the proposed 7.1.1 fixes at UBBCentral; he'll be making a post about it there later on today.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313645 - 03/20/07 08:02 AM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Fred Johnson Offline
Junior Member

Registered: 07/14/06
Posts: 21
To be specific it was the modify.inc.php one where on line 94 you change the T2 to a T1. Don't do it...

Top
#313653 - 03/20/07 05:11 PM Re: [7.x] UBB Spoiler Tags [Re: Fred Johnson]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: Fred Johnson
Don't do it...
But, that makes me want to do it...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313662 - 03/21/07 08:42 AM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Fred Johnson Offline
Junior Member

Registered: 07/14/06
Posts: 21
Then do it, but don't.

How's that?

I guess you could call it a "feature." Only the topic generator can edit a post in the topic for x amount of minutes... tipsy

Top
#313670 - 03/21/07 04:20 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Cuervo Offline
User

Registered: 11/10/01
Posts: 29
Originally Posted By: Gizmo
Originally Posted By: Fred Johnson
Don't do it...
But, that makes me want to do it...


/agree Now I HAVE to try it! lol
_________________________
-Cuervo
zOMG and oNOES

Top
#313671 - 03/21/07 04:26 PM Re: [7.x] UBB Spoiler Tags [Re: Cuervo]
Cuervo Offline
User

Registered: 11/10/01
Posts: 29
What about spoilers based on User Group? j/k
_________________________
-Cuervo
zOMG and oNOES

Top
#313673 - 03/21/07 05:14 PM Re: [7.x] UBB Spoiler Tags [Re: Cuervo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol that could be interesting; not sure how it'd work lol, but interesting none the less...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313739 - 03/29/07 02:00 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 97
Loc: NJ

Just to boost your ego a bit... laugh

Quote:

Those spoiler tags are the coolest things ever.

Quote:

This is an AWESOME feature Geoff, thanks!

Quote:

I like it Geoff!! smile Great idea!!


Thanks for making me look good! laugh wink

_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#313741 - 03/29/07 05:17 PM Re: [7.x] UBB Spoiler Tags [Re: jgeoff]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
haha, makes me feel much better today! (sick as a dog)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314318 - 06/04/07 02:55 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
i must echo the sentiments.. spoiler mod is sooooo much of a great idea!!

thanks

ps: should put this mod in the core :2c:
_________________________

Top
#314320 - 06/04/07 06:20 PM Re: [7.x] UBB Spoiler Tags [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: sirdude
ps: should put this mod in the core :2c:
wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314748 - 07/16/07 10:00 PM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I added code which would allow users to specify a warning; it can come quite helpful if they wanted something other than the generic "Warning, Spoiler", they could have "Chapter 6, Title" and have it run into the spoiler.

Originally Posted By: Gizmo
To allow users to specify their own warning:
In libs/ubbthreads.inc.php, add after the [spoiler] tag set:
Code:
			array( "#\[spoiler=(.+?)\](.+?)\[/spoiler\]#i", "<div class=\"ubbcode-block\"><div class=\"ubbcode-header\">\\1 <input type=\"button\" class=\"form-button\" value=\"{$ubbt_lang['SPOILER_SHOW']}\" onclick=\"if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = '{$ubbt_lang['SPOILER_HIDE']}'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = '{$ubbt_lang['SPOILER_SHOW']}'; }\" /></div><div class=\"ubbcode-body\"><div style=\"display: none;\">\\2</div></div></div>" ),


Usage Instructions:
Code:
[spoiler=This will be the warning]This text will be hidden[/spoiler]
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314754 - 07/17/07 08:28 AM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
hrm, i wonder where that idea came from.. whistle

glad you added it wink
_________________________

Top
#314768 - 07/17/07 07:17 PM Re: [7.x] UBB Spoiler Tags [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, it's been in for quite a while (in my bbcode that I transfer everywhere), I just adapted it for UBB7.2 and mailed it to Rick for 7.2 but it didn't get in :tear:
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318668 - 01/10/11 01:53 AM Re: [7.x] UBB Spoiler Tags [Re: Gizmo]
lysaraj Offline
Lurker

Registered: 01/10/11
Posts: 3
It is too good for those users who are not well knowledge about UBB Spoiler Tags. You can get entire information which you want. Thank you
_________________________
mcts dumps|cwna certification|Testkings|mcp exam

Top
Page 4 of 4 < 1 2 3 4



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks